package com.xy.decorator;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/20 13:17
 * @description
 */
public class Soy extends CondimentDecorator{
    private Beverage beverage;


    public Soy(Beverage beverage) {
        super(beverage);
        description = beverage.getDescription() + ", Soy";
        price = beverage.price + .10;
    }
}
